<?php
$clinome = $_POST['nome'];
$clinumero = $_POST['ncliente'];
echo "Numero Cliente: ".$clinumero;
$GET = $GLOBALS['MYT']->db_array("SELECT * FROM bonusinvoice where CLIENT = {$clinumero} AND CAMPAIGN = 13 AND bns_Amount = 3000");
	if(!isset($GET[1])) {

            	tuga_multiquery("CALL bonus_domov(0,1,13,3000,{$clinumero},'{$sysTime}',{$_SESSION[$SESSID]},{$_SESSION[$SESSCD]},7,0,0,0);");

	}
echo "Terminado";
?>